/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.servicelayer.dto;

import cz.fi.muni.diplomka.common.BuildingLevel;
import cz.fi.muni.diplomka.common.Coordinates;
import cz.fi.muni.diplomka.common.enumeration.BuildingType;
import java.util.Collections;
import java.util.Map;

/**
 * Class representing Building in City Of Player
 *
 * @author Jakub Kutil
 */
public class BuildingInCity {

    private Coordinates coordinates;
    private Long cityId;
    private BuildingType name;
    private int level;
    private Map<Integer, BuildingLevel> levels;

    public BuildingInCity() {
    }

    public BuildingType getName() {
        return name;
    }

    public void setName(BuildingType name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public Map<Integer, BuildingLevel> getLevels() {
        return Collections.unmodifiableMap(levels);
    }

    public void setLevels(Map<Integer, BuildingLevel> levels) {
        this.levels = levels;
    }

    public Coordinates getCoordinates() {
        return coordinates;
    }

    public void setCoordinates(Coordinates coordinates) {
        this.coordinates = coordinates;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }
}
